<%@ page language="java" pageEncoding="UTF-8"%>
<div ng-controller="UploadRecordShowController">
	<div class="panel panel-default">
		<div class="panel-heading">
			上传记录
		</div>
		<div class="panel-body">
			<table class="table table-hover">
				<thead>
					<tr>
						<th>
							ID
						</th>
						<th>
							文件名
						</th>
						<th>
							文件大小(KB)
						</th>
						<th>
							文件类型
						</th>
						<th>
							上传时间
						</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-repeat="record in records.data">
						<td>
							{{record.id}}
						</td>
						<td>
							{{record.name}}
						</td>
						<td>
							{{record.size/1024 | toInteger}}
						</td>
						<td>
							{{record.type}}
						</td>
						<td>
							{{record.upload_time | formatDate}}
						</td>
					</tr>
				</tbody>
			</table>
			
			<paginate page-count="records.page_count" sum="records.data_sum" pn="records.pn" click="find"></paginate>
		</div>
	</div>
</div>